<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景图</title>
    <style>
        .box {
            width: 100%;
            height: 900px;
            /* 图片地址 */
            background-image: url(./imgs/one.png);
            /* 是否平铺 */
            background-repeat: no-repeat;
            /* 位置 */
            background-position: center;
            /* 图片的尺寸 */
            background-size: 200px;
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>